package com.zwps.biz.domain.service;

import com.zwps.biz.api.model.dto.auth.PasswordCaptchaLoginAuthDTO;
import com.zwps.biz.api.model.dto.auth.PasswordLoginAuthDTO;
import com.zwps.biz.api.model.dto.auth.PhoneLoginDTO;
import com.zwps.biz.api.model.vo.auth.AuthInfoVO;
import com.zwps.biz.dal.db.object.UserDO;
import com.zwps.common.api.model.vo.LoginInfoVO;

/**
 * 
 * @ClassName: AuthService
 * @Description: 系统登录退出
 * @author lyh
 * @date 2023年5月16日 下午4:29:15
 *
 */
public interface AuthService {

    AuthInfoVO passwordLogin(PasswordLoginAuthDTO dto) throws Exception;

    LoginInfoVO authToken(String token);

    void logout(String token);

    String generateCaptchaBase64();
    
    void sendPhoneCode(String phone);

    AuthInfoVO phoneLogin(PhoneLoginDTO loginDTO) throws Exception;

    AuthInfoVO secretKeyLogin(String secretKey) throws Exception;

    Boolean verification(String secretKey);
}
